import { reverseObject } from '@/util/util'

export const field = {
    id: 'id',
    title: 'title',
    on_sale: 'on_sale',
    rating: 'rating',
    sold_count: 'sold_count',
    review_count: 'review_count',
    price: 'price',
    is_show: 'is_show',
    sort: 'sort',
    created_at: 'created_at',
    updated_at: 'updated_at',
}

export const reField = reverseObject(field)
